package com.taotao.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.taotao.common.pojo.TaotaoResult;
import com.taotao.service.RedisService;

@Controller
public class RedisController {
	@Autowired
	private RedisService redisService;
	@RequestMapping(value="/cache/item")
	@ResponseBody
	public TaotaoResult sysnItem() {
		return redisService.synItem();
	}
}
